/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 使内容靠上 */
    min-height: 100vh; /* 最小高度为视口高度 */
    margin: 0;
    padding: 0;
    width: 100%; /* 宽度占据整个视口 */
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7em;
    font-family: 微软雅黑;
    margin-top: 10vh; /* 根据视口高度设置垂直间距 */
    text-align: center; /* 文字居中 */
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 90%; /* 百分比宽度 */
    max-width: 525px; /* 最大宽度限制 */
    margin-top: 3vh; /* 根据视口高度设置垂直间距 */
}

#search {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.icon-container {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.icon-container i {
    margin-left: 10px;
    color: #666;
    cursor: pointer;
}

.interest {
    display: flex;
    justify-content: space-around; /* 根据需要调整 */
    margin-top: 20px; /* 根据需要调整垂直间距 */
    max-width: 600px; /* 与搜索容器相同的最大宽度 */
    width: 90%; /* 百分比宽度 */
    flex-wrap: wrap; /* 允许项目换行 */
}

.interest img {
    width: 60px; /* 根据需要调整图片宽度 */
    height: auto; /* 保持宽高比 */
    margin-right: 25px; /* 图片之间的间距 */
    margin-left: 25px;
}

.interest div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer {
    display: flex;
    flex-direction: row;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 600px; /* Same width as body */
    justify-content: space-around;
    align-items: center;
    user-select: none;
    cursor: pointer;
    padding: 10px 0; /* Add padding for better spacing */
    background-color: #fff; /* Optional: background color for footer */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: shadow for footer */
}

.footer div i {
    font-size: 2em;
    display: block;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .first {
        font-size: 5em; /* Adjust font size for smaller screens */
        margin-top: 30%; /* Margin-top for smaller screens */
    }

    .search-container {
        width: 95%; /* Adjust width for smaller screens */
        margin-top: 2vh; /* Adjust margin for smaller screens */
    }

    #search {
        padding-right: 30px; /* Adjust padding to leave space for icons */
    }

    .footer {
        flex-wrap: wrap;
        padding: 10px 0; /* Adjust padding for smaller screens */
    }
}

@media (min-width: 1200px) {
    .first {
        margin-top: 5%; /* Adjust margin-top for larger screens */
    }
}



